package com.photons.jrtplib;

public class JRTP {
    static {
        System.loadLibrary("jrtplib_jni");
    }

    public static native long initSender(int localPort, String destHost, int destPort, RtpListener listener);
    public static native long initReceiver(String localHost, int localPort, RtpListener listener);
    public static native boolean sendAvcFrame(long handle, byte[] frame, int length, boolean isSpsOrPps);
    public static native boolean release(long handle);
}